/*公共*/
.btn-articles {
  background:#039BE5;

  &:hover {
    color: #fff;
    background-color: #039BE5;
    border-color: #039BE5;
    box-shadow: 0 2px 1px rgba(0,0,0,.1);
  }
}
/*文章栏目菜单*/
.articles-nav-box {
  margin:0 auto 0 auto;
  width:100%;
  overflow:hidden;
}
.articles-nav-box .swiper-slide {
    width: auto;
}
.articles-nav-box li {
  list-style: none;
}
.articles-nav-box li a{
  display:block;
  padding: 0 20px;
  line-height: 42px;
  font-size:16px;
  font-weight:600;
}
.articles-nav-box li.active a{
  display:block;
  line-height: 42px;
  font-size:16px;
  font-weight:600;
  border-bottom: 2px solid #ff6600;
}
/**
 * 列表页
 */
.news-list-box {
  background: #fff;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-radius: 2px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;

  &:hover {
    -webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    -webkit-transform: translate3d(0, -2px, 0);
    -moz-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
  }
  .topic {
    display:block;
  }
  @media screen and (max-width:768px){
    .topic {
      display:block;
      height:200px;
      overflow:hidden;
    }
  }

  .img-box {
    display:table-cell;
    height:auto;
    .img-md {
      width:100%;
    }
  }

  @media screen and (max-width:768px){
    .img-box {
      display:table-cell;
      vertical-align: middle;
      text-align: center;
      width:1%;
    }
  }

  .con {

    .author {
      color:#9ca4ab;
    }
    p {
      margin-top: 10px;
      color: #999;
    }
  }

  .user_operate {
    position:relative;
    margin-top:10px;
    margin-bottom:10px;
    background:#fff;

    .user_show_reason {
      color:#039BE5;
      display:inline-block;
      margin:0 10px;
    }

    .user_reason {
      
    }
  }

}



/**
 * 详情页
 */

.detail_box {
  background: #fff;

  .common_block_title {
    padding: 20px;

    .title {
      margin: 30px auto;

      h2 {
        font-size: 20px;
      }
    }

    .info {
      margin: 15px auto;

      span {
        display:inline-block;
        padding:0 10px;
        color:#9ca4ab;
      }
      span:first-child {
        padding-left:0;
      }
      .category {
        color:#039BE5;

        a {
          color:#039BE5;
        }
      }
    }

    .keywords-box {
      margin: 15px auto 5px auto;

      .keywords {
        background: #f90;
        color: #fff;
        padding: 5px;
        margin: 5px;
      }
    }

  }

  #contents {
    padding: 0;

    .news-content {
      padding: 20px;
      font-size: 1.2em;
      line-height: 30px;
      color: #3d464d;
    }
  }
}

/*右边栏*/
.right_block {
    border-radius: 3px;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;

    .right_block_item {
      background:#fff;
      padding:15px;
    }

    .author_info {
      

      .author_num {
        text-align: center;
        .num {
          display: inline-block;
          padding: 20px;
          margin: 15px auto;
          text-align: center;
          background: #eee;
          border: 1px solid #f2f2f2;
        }
      }
    }

    .list_box {
      border-top: 1px solid #d3d7db;
      padding-top: 15px;
      background:#fff;

      ul.list {
        list-style: none;
        padding: 0;

        li {
          padding-top: 15px;

          .title {
            font-size: 16px;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            overflow: hidden;
            line-height: 1.4em;
            max-height: 2.8em;
            word-break: break-word;
            word-wrap: break-word;

            a {
              color: #3d464d;

              &:hover {
                color: #039BE5;
              }
            }
          }

          .note {
            margin-top: 5px;
            color: #aaa;
            font-size: .6rem;

            .time {
              color: #9ca4ab;
            }

            .tag {
              color: #039BE5;
            }
          }
        }
      }
    }

    .enter-report {
      margin-top: 30px;
      a {
        display: block;
        border-radius: 4px;
        background-color: #039BE5;
        color: #fff;
        text-align: center;
        padding: 6px;
        font-size: 16px;
      }
    }
}

/*用户编辑页*/
.articles_edit_item {
  background:#fff;
  padding:5px;

  .title {
    padding:5px;
    color:#039BE5;
    border:1px;
  }

  .form_item {
    max-width: 768px;
    margin: 10px auto;
    padding-bottom: 10px;

    .control-label {
      color: #03b8cf;
      padding: 10px 0;
      display: block;
      font-size: 16px;
      text-align: left;
    }

    .form-control {
      border: 1px solid #ddd;
      font-size: 14px;
      color: #666;

      &:focus, &:hover {
        border-color: #03b8cf;
        box-shadow: none;
      }
    }

    .cover-box {

      .cover-upload-btn {

        .webuploader-pick {
          border:0;
        }
      }
      .uploader-text {

        p{  
          margin-top:60px;
          color:#666;
        }
      }

      .upload-img-box {
        background:#ddd;

        img {
          width:374px;
          height:281px;
        }
      }

      .tip {
        color:#f60;
      }
    }
  }


}